From c82ab382fa40a3ddb17617c44463b25fc404c1e7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 26 Jan 2009 16:21:21 +0000 Subject: [PATCH] x86_64: No restriction on Xen heap address width. Signed-off-by: Keir Fraser --- xen/common/page_alloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index d8c67f513c..648fbd6971 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -703,8 +703,7 @@ void *alloc_xenheap_pages(unsigned int order) ASSERT(!in_irq()); pg = alloc_heap_pages( - MEMZONE_XEN+1, bits_to_zone(32), - cpu_to_node(smp_processor_id()), order); + MEMZONE_XEN+1, NR_ZONES-1, cpu_to_node(smp_processor_id()), order); if ( unlikely(pg == NULL) ) goto no_memory; -- 2.30.2